package com.minibobbo.utilities.spe.movementmodules;

import com.minibobbo.utilities.spe.SimplePlatformEngine;
import com.minibobbo.utilities.spe.SpeDynamicObject;

public abstract class SpeMovementModule {

	SimplePlatformEngine e;
	SpeDynamicObject parent;
	
	public float maxSpeedX = 5;
	public float maxSpeedY = 10;
	
	
	public void init(SimplePlatformEngine engine, SpeDynamicObject parent) {
		e = engine;
		this.parent = parent;
		
		
	}
	
	
	public abstract void updateMovement(float delta);
	
	public SpeMovementModule setMaxSpeedX(float value) {
		maxSpeedX = value;
		return this;
	}
	
	public SpeMovementModule setMaxSpeedY(float value) {
		maxSpeedY = value;
		return this;
	}

}
